package com.jinsilu.freight.http.request;

import com.hjq.http.config.IRequestApi;

/**
 * ocr识别
 *
 * @author yangyang
 * @time 2020-11-18 17:20
 */
public class OCRApi implements IRequestApi {

    private String type; // 类型【1身份证人像面；2身份证国徽面；3驾驶证正页；4驾驶证副页；5行驶证正页；6行驶证副页；7车辆道路运输证】
    private String url; // 图片地址

    @Override
    public String getApi() {
        return "api/ocr";
    }

    public OCRApi setType(String type) {
        this.type = type;
        return this;
    }

    public OCRApi setUrl(String url) {
        this.url = url;
        return this;
    }
}
